Best practices for designing a REST API: https://stackoverflow.blog/2020/03/02/best-practices-for-rest-api-design/

If try to submit the payload with the email value that already exists in users, we’ll get a 400 response status code with a 'User already exists' message to let users know that the user already exists. With that information, the user can correct the action by changing the email to something that doesn’t exist.